--[[
    @desc:  https://github.com/youlanhai/tolua 
            https://blog.csdn.net/you_lan_hai/article/details/51059510
    author:{zcg}
    time:2019-07-25 01:34:00
    {paramdesc}
    @return:
]]
CubeWork = {}
CubeWork.__index = CubeWork --让实例对象的__get方法指向Test类

--给CubeWork类实例化一个对象
function CubeWork.New(cls)
    local self = {}
    setmetatable(self, cls)
    return self
end

function CubeWork:Awake()
    print(self.name, "Awake", self, self.gameObject.name)
end

return CubeWork
